package Message;

import java.io.Serializable;

/**
 * TODO description
 */
public class MEnnemie implements Serializable {
	
	private String pos;
	private String name;
	private  String role;
	private  String status;
	private int vie;
	private boolean help;
	public MEnnemie(String pos,String name, String status,String role)
	{
		this.pos = pos;
		this.name = name;
		this.role =role;
		this.status = status;
		vie=-1;
		help = true;
	}
	
	public MEnnemie(String pos,String name, String status,String role,  int vie)
	{
		this.pos = pos;
		this.name = name;
		this.role =role;
		this.status = status;
		this.vie=vie;
		help = true;
	}

	public MEnnemie(String pos,String name, String status,String role,  int vie, boolean help)
	{
		this.pos = pos;
		this.name = name;
		this.role =role;
		this.status = status;
		this.vie=vie;
		this.help = help;
	}	
	
	public MEnnemie(String pos,String name, String status)
	{
		this.pos = pos;
		this.name = name;
		this.role ="";
		this.status = status;
		this.vie=-1;
		this.help = true;
	}		
	
	public String getPos()
	{
		return pos;
	}
	
	public String getRole()
	{
		return role;
	}
	
	public boolean isDisabled()
	{
		return status.equals("disabled");
	}
	
	public int getVie()
	{
		return vie;
	}
	
	public boolean getHelp()
	{
		return help;
	}
	
	public String getName()
	{
		return name;
	}
}